package com.sky.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
@ApiModel(description = "接收员工分页的数据模型")
@Data
public class EmployeePageQueryDTO implements Serializable {
    @ApiModelProperty("员工姓名,可选")
    //员工姓名
    private String name;
    //页码
    @ApiModelProperty("页码")
    @NotNull
    private int page;

    @ApiModelProperty("页大小")
    @NotNull
    //每页显示记录数
    private int pageSize;

}
